package com.itheima.tlias08_14.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@JsonInclude(JsonInclude .Include.NON_NULL)
public class SelectDeptDTO {
    private int id;
    private String name;

    //格式化时间 相当于DateFormater
//    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒")
    private LocalDateTime updateTime;
}
